<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>软件园商城</title>
    <link href="css/bootstrap.min.css" rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <link href="css/signin.css" rel="stylesheet" th:href="@{css/signin.css}">
</head>

<body class="text-center">
<form class="form-signin" action="#" th:action="@{/register}" method="post">
    <img class="mb-4" src="img/bootstrap-solid.svg" alt="" width="72" height="72">
    <h1 class="h3 mb-3 font-weight-normal">欢迎您</h1>
    <label class="sr-only">用户名</label>
    <input type="text" name="name" class="form-control" placeholder="用户名" value="">
    <span style="color:red;" th:text="${msg==''?'':msg}"></span><br>
    <label class="sr-only">密码</label>
    <input type="text" name="password" class="form-control" placeholder="密码" value=""/><br>
    <label class="sr-only">性别:</label>
    <input type="text" name="sex" class="form-control" placeholder="性别" value=""/><br>
    <label class="sr-only">年龄:</label>
    <input type="text" name="age" class="form-control"  placeholder="年龄"value=""/><br>
    <label class="sr-only">电话:</label>
    <input type="text" name="phone" class="form-control" placeholder="电话" value=""/><br>
    <label class="sr-only">地址:</label>
    <input type="text" name="address" class="form-control" placeholder="地址" value=""/><br>
    <button class="btn btn-lg btn-primary btn-block" type="submit">注册</button><br>
    <a href="#" class="btn btn-link">已有账号？立即登录</a>
</form>
</body>
</html>